1: | f(0) | → cons(0,n__f(n__s(n__0))) | |
2: | f(s(0)) | → f(p(s(0))) | |
3: | p(s(0)) | → 0 | |
4: | f(X) | → n__f(X) | |
5: | s(X) | → n__s(X) | |
6: | 0 | → n__0 | |
7: | activate(n__f(X)) | → f(activate(X)) | |
8: | activate(n__s(X)) | → s(activate(X)) | |
9: | activate(n__0) | → 0 | |
10: | activate(X) | → X | |
11: | F(s(0)) | → F(p(s(0))) | |
12: | F(s(0)) | → P(s(0)) | |
13: | ACTIVATE(n__f(X)) | → F(activate(X)) | |
14: | ACTIVATE(n__f(X)) | → ACTIVATE(X) | |
15: | ACTIVATE(n__s(X)) | → S(activate(X)) | |
16: | ACTIVATE(n__s(X)) | → ACTIVATE(X) | |
17: | ACTIVATE(n__0) | → 0# | |